package com.xuxin.baby.contract;

import com.xuxin.baby.bean.BaseBean;
import com.xuxin.baby.presenter.ChildGreatRecordPresenter;

/**
 * Created by xu_xin
 * Created on 2020/10/22 0022
 * 记录大事记和病历
 */
public interface ChildGreatRecordContract {

    interface Model {

        void record(ChildGreatRecordPresenter presenter,
                    String tenantId,
                    String token,
                    String childId,
                    String eventType,
                    String eventTitle,
                    String eventContent,
                    String medicalRecord,
                    String address,
                    String eventDate,
                    String pic1,
                    String pic2,
                    String pic3);

    }

    interface View extends BaseContract.view {

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void record(String tenantId,
                    String token,
                    String childId,
                    String eventType,
                    String eventTitle,
                    String eventContent,
                    String medicalRecord,
                    String address,
                    String eventDate,
                    String pic1,
                    String pic2,
                    String pic3);

        void onSuccess(BaseBean baseBean);
    }
}